﻿using System;
namespace Maticsoft.Model
{
    /// <summary>
    /// tb_item:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tb_item
    {
        public tb_item()
        { }
        #region Model
        private int _id;
        private string _name;
        private string _summary;
        private string _description;
        private int _stock;
        private int _is_sale;
        private string _img_orgin;
        private string _img_thumb;
        private decimal _price;
        private DateTime _expire_date;
        private decimal _cost;
        /// <summary>
        /// auto_increment
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string summary
        {
            set { _summary = value; }
            get { return _summary; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int stock
        {
            set { _stock = value; }
            get { return _stock; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int is_sale
        {
            set { _is_sale = value; }
            get { return _is_sale; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string img_orgin
        {
            set { _img_orgin = value; }
            get { return _img_orgin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string img_thumb
        {
            set { _img_thumb = value; }
            get { return _img_thumb; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime expire_date
        {
            set { _expire_date = value; }
            get { return _expire_date; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal cost
        {
            set { _cost = value; }
            get { return _cost; }
        }
        #endregion Model

    }
}

